package com.itcoon.transform4j.demo.web.controller;

import com.itcoon.common.web.core.response.ApiResponse;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@Api(tags = "测试中心")
@RestController
@RequestMapping("/api")
public class IndexController {

    @ApiOperation("测试接口")
    @GetMapping("/index")
    public ApiResponse<Void> index(){
        return ApiResponse.createSuccess();
    }
}
